import axios from '@/utils/request';
//获取所有的考试类型
export const _examType = (params: any) =>
  axios.get('/api/exam/examType', { params });
// 获取所有的课程
export const _subject = (params: any) =>
  axios.get('/api/exam/subject', { params });

  export const _getQuestionsType = (params: any) =>
  axios.get('/api/exam/getQuestionsType', { params });

  
//添加试题接口
  export const _questions = (params: any) =>
  axios.post('/api/exam/questions',  params );